﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smart.Business.BodyFatCalculator;
using Smart.Model;

namespace Smart.Service
{
    public class BodyFatCalculator : IBodyFatCalculator
    {
        public double GetBMI(double height, double weight)
        {
            return BodyFatCalculatorBL.GetBMI(height, weight);
        }

        public double GetBodyFat(double bmi, int age, bool isMale)
        {
            return BodyFatCalculatorBL.GetBodyFat(bmi, age, isMale);
        }

        public string GetBMIValue(double bmi)
        {
            return BodyFatCalculatorBL.GetBMIValue(bmi);
        }

        public string GetBodyFatValue(double bodyFat, bool isMale)
        {
            return BodyFatCalculatorBL.GetBodyFatValue(bodyFat, isMale);
        }
    }
}
